package development;

import particle.core.tools.Color;
import state.GameForm;
import state.Graphics;
import state.font.FontManager;
import state.font.ImageFont;
import state.util.Hashtable;

public class FrmTestParticle extends GameForm {
  private ImageFont text13 = null;

  private static GameForm singleton = null;

  public static GameForm instance() {
    if (singleton == null) {
      singleton = new FrmTestParticle();
    }
    return singleton;
  }

  public void init(Hashtable parameters) {
    _manager.setBackGroundColor(Color.White);
    text13 = FontManager.getFont(FontManager.FONT_SIZE_13);
  }

  public void draw(Graphics g) {
    text13.drawString2(g, "Test Particle", Color.Black, 50, 50, Constants.TOP_RIGHT_ANCHOR);
  }

  public void keyReleased(int keyCode) {
  }

  public void destroy() {
  }
}
